<div id="content">
  <fieldset>
    <div class="content_inner">
      <form id="<?php echo SignInForm::FORM_NAME; ?>" method="POST" action="<?php echo url_for("@login"); ?>">
        <input type="hidden" name="mode" value="login" />
        <fieldset>
          <legend>Login</legend>
          <ol class="form_class">
            <?php if($form->hasErrors()):?>
              <div class="loginErrors">Invalid username/password combination. Please try again.</div>
            <?php endif; ?>
            <li>
              <label for="txtUserName"><?php echo $form[SignInForm::FIELD_USERNAME]->renderLabel(); ?></label>
              <?php echo $form[SignInForm::FIELD_USERNAME]->render(array('AUTOCOMPLETE'=>'OFF', 'value'=>'', 'id'=>'txtUserName')); ?>
            </li>
            <li>
              <label for="txtPassword">Password</label>
              <?php echo $form[SignInForm::FIELD_PASSWORD]->render(array('AUTOCOMPLETE'=>'OFF', 'value'=>'', 'id'=>'txtPassword')); ?>
              <?php echo $form['_csrf_token']->render(); ?>
            </li>
          </ol>
          <div class="buttons">
            <button type="submit" class="positive">Submit</button>
            <button type="reset" class="positive">Reset</button>
          </div>
        </fieldset>
      </form>
    </div>
  </fieldset>
</div>